package tech.aistar.day02;

public class IntergerDemo {
    public static void main(String[] args) {
        Integer i =new Integer(10);


        Integer j =new Integer("10");

        //自动解封箱
        Integer x=10;
        System.out.println(x);
        int y=x;
        System.out.println(y);
        int z=x.intValue();
        System.out.println(z);
        //int 转换Integer类型
        Integer m=Integer.valueOf(y);
        System.out.println(m);
    }
}
